PowerTCP Emulation for .NET
AddRange(Option[]) Method




The array of Option objects to add to the OptionCollection.
Adds an array of Option objects to the OptionCollection.
Syntax
Public Overloads Sub AddRange( _
   ByVal items() As Option _
) 
Dim instance As OptionCollection
Dim items() As Option
 
instance.AddRange(items)
public void AddRange( 
   Option[] items
)
public: void AddRange( 
   Option*[]* items
) 
public:
void AddRange( 
   array<Option^>^ items
) 

Parameters

items
The array of Option objects to add to the OptionCollection.
Remarks

Use this method to add an array of Options to the OptionCollection, to ensure they are used during option negotiation.

If an existing item has the same Code as the new option, the existing item is removed to prevent duplication.

See Also

Reference

OptionCollection Class
OptionCollection Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic